package DecoratorPattern;

/**
 * @description:
 * @author: ywk
 * @date: 2020-08-01
 */
public class ShapeDecorator implements Shape {
    protected  Shape decoratedShape;

    public ShapeDecorator(Shape decoratedShape) {
        this.decoratedShape = decoratedShape;
    }
    @Override
    public void draw() {
        decoratedShape.draw();

    }
}
